package com.ruoyi.applet.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.brisk.common.annotation.Excel;
import com.brisk.common.core.domain.BaseEntity;
import lombok.*;

import java.util.Date;
import java.util.List;

/**
 * exam对象 applet_exam
 *
 * @author PengFei Deng
 * @date 2022-04-14
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class AppletExam extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long examId;

    /**
     * 答题名称
     */
    @Excel(name = "答题名称")
    private String examName;

    /**
     * 答题开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "答题开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date examStartTime;

    /**
     * 答题结束时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "答题结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date examEndTime;


    private List<AppletExamTopic> topicList;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private String state;

    /**
     * 参与人数
     */
    @Excel(name = "参与人数")
    private Integer peopleSum;

    private String topicAnswer;

    @Excel(name = "标点")
    private Long siteId;
    @Excel(name = "标点名称")
    private String siteName;
    @Excel(name = "难度系数")
    private String difficulty;
}
